from rest_framework.serializers import ModelSerializer
from zi.models import *

class CateSer(ModelSerializer):
    class Meta:
        model = Category
        fields = '__all__'
class GoodsSer(ModelSerializer):
    class Meta:
        model = Goods
        fields = '__all__'
class CartSer(ModelSerializer):
    class Meta:
        model = Cart
        fields = "__all__"
